﻿using HZU.ZP.Data.Models;
using System;
using System.Collections.Generic;
using System.Text;

namespace HZU.ZP.Data.Interfaces
{
    public interface IAdminDao
    {
        /// <summary>
        /// 根据条件获取管理员信息
        /// </summary>
        /// <param name="name"></param>
        /// <param name="password"></param>
        /// <returns></returns>
        Admin Get(string name, string password);
        /// <summary>
        /// 根据条件获取管理员信息
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        Admin Get(string name);
    }
}
